﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;  
namespace TimeHosty
{
    class Program
    {
        static void Main(string[] args)
        {

            var host =  new ServiceHost(
                typeof (TimeService.TimeService));  

            host.Open();

            Console.WriteLine("servicio  expuesto ");
            Console.ReadLine();
            host.Close();  


        }
    }
}
